﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="QQList.aspx.cs" Inherits="kim.Web.xjl0703.Links.QQList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>资讯管理</title>
    <script src="../Js/jquery-1.7.1.min.js" type="text/javascript"></script>
    <link href="../img/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../js/function.js"></script>
    <script type="text/javascript">


        $(function () {
            $(".msgtable tr:nth-child(odd)").addClass("tr_bg"); //隔行变色
            $(".msgtable tr").hover(
			    function () {
			        $(this).addClass("tr_hover_col");
			    },
			    function () {
			        $(this).removeClass("tr_hover_col");
			    }
		    );
        });
    </script>
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <span class="add"><a href="QQListAddorEdit.aspx?type=Add&typeid=<%=typeid %>">
            添加信息</a></span><b>您当前的位置：首页 &gt;
                <asp:Label ID="Label1" runat="server"></asp:Label>
                &gt; 信息列表 </b>
    </div>
    <div class="spClear">
    </div>
    <div class="spClear">
    </div>
    <asp:Repeater ID="rptlist" runat="server">
        <HeaderTemplate>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
                <tr>
                    <th width="8%">
                        编号
                    </th>
                    <th align="center">
                        昵名
                    </th>
                    <th align="center">
                        QQ号
                    </th>
                    <th width="13%">
                        序列值
                    </th>
                    <%--<th width="10%">
                        首页推荐
                    </th>--%>
                    <th width="10%">
                        操作
                    </th>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td align="center">
                    <asp:Label ID="lb_id" runat="server" Text='<%#Eval("ID")%>'></asp:Label>
                </td>
                <td align="center">
                    <font color="#0066ff"><%# Eval("title")%></font>
                </td>
                <td align="center">
                    <font color="#000"><%# Eval("site_url")%></font>
                </td>
                <td align="center">
                    <%# Eval("sort_id")%>
                </td>
                <%--<td align="center">
                    <asp:LinkButton ID="lbtnqx" CommandName='<%# Eval("ID") %>' OnCommand="lbtnqx_Click"
                        runat="server"><%# (bool)Eval("IsIndex") ? "<FONT color=#005EAC>√</font>" : "<FONT color=#FF3300>×</font>"%></asp:LinkButton>
                </td>--%>
                <td align="center">
                    <span><a href="QQListAddorEdit.aspx?id=<%#Eval("ID")%>&type=Edit&typeid=<%=typeid %>">修改</a></span>
                    <span><a href="QQListAddorEdit.aspx?id=<%#Eval("ID")%>&type=Delete&typeid=<%=typeid %>" onclick="return confirm( '确定要删除吗？ ')">
                        删除</a></span>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
    <div class="pagination">
        <%=StrPage%>
    </div>
    <div class="spClear">
    </div>
    </form>
</body>
</html>
